package com.fxdigital.nvr;

public class CustomProtocol {
    private int flag; // 是否启用本协议，0-不启用，1-启用
    
    private int subStreamEnable; // 子码流是否启用，0-不启用，1-启用
    
    private int mainProType;    // 主码流协议类型，目前只能固定取值为1，表示RTSP协议
    
    private int mainTransType;  // 主码流传输类型，0-自动，1-udp，2-rtp over rtsp
    
    private int mainPort;   //  主码流端口
    
    private String mainPath; // 主码流路径
    
    private int subProType; // 子码流协议类型，目前只能固定取值为1，表示RTSP协议
    
    private int subTransType; // 子码流传输类型，0-自动，1-udp，2-rtp over rtsp
    
    private int subPort;    // 子码流端口
    
    private String subPath; // 子码流路径

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getSubStreamEnable() {
		return subStreamEnable;
	}

	public void setSubStreamEnable(int subStreamEnable) {
		this.subStreamEnable = subStreamEnable;
	}

	public int getMainProType() {
		return mainProType;
	}

	public void setMainProType(int mainProType) {
		this.mainProType = mainProType;
	}

	public int getMainTransType() {
		return mainTransType;
	}

	public void setMainTransType(int mainTransType) {
		this.mainTransType = mainTransType;
	}

	public int getMainPort() {
		return mainPort;
	}

	public void setMainPort(int mainPort) {
		this.mainPort = mainPort;
	}

	public String getMainPath() {
		return mainPath;
	}

	public void setMainPath(String mainPath) {
		this.mainPath = mainPath;
	}

	public int getSubProType() {
		return subProType;
	}

	public void setSubProType(int subProType) {
		this.subProType = subProType;
	}

	public int getSubTransType() {
		return subTransType;
	}

	public void setSubTransType(int subTransType) {
		this.subTransType = subTransType;
	}

	public int getSubPort() {
		return subPort;
	}

	public void setSubPort(int subPort) {
		this.subPort = subPort;
	}

	public String getSubPath() {
		return subPath;
	}

	public void setSubPath(String subPath) {
		this.subPath = subPath;
	}
}
